package com.qn.common.base.model;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@Tag(name="返回数据对象")
public class ResponseData<T> extends ResponseMode{
    public  ResponseData(){};
    
    public  ResponseData(Integer code, String msg, T data){
        setCode(code);
        setMessage(msg);
       setResult(data);
    }
    /***
     * 响应数据
     */
    @Schema(description = "数据对象")
    public T result;

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }
}
